public class test1 {
    public static void main(String[] args) {
//        int b = 1;
        for (int b = 1; b <= 9; b++) {
//            System.out.println(1 + " * " + b + " = " + 1 * b + " ");
            for (int a = 1; a <= b; a++) {
                System.out.print(a + " * " + b + " = " + a * b + "\t");
            }
            System.out.println();
        }
    }
}
